package com.main.common;

import java.util.ArrayList;
import java.util.List;

public class TreeList {

    private  Integer level;

    private String name;

    private String code;

    private String pcode;



    private List<TreeList> layer = new ArrayList<>();

    public List<TreeList> getLayer() {
        return layer;
    }

    public void setLayer(List<TreeList> layer) {
        this.layer = layer;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public Integer getLevel() {
        return level;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }

    public String getPcode() {
        return pcode;
    }
}
